#include "usb11.h"
#include "os_io.h"

void usb11_init(void)
{
	uint32_t i = 0;
	printf("Revision register before enable: 0x%x\n", USB11_REVISION);
	USB11_CONTROL = 0x43;	// Set state = operational
	// add delay
	for (i = 0; i < 0xFFF; i++);

	printf("Revision register after enable: 0x%x\n", USB11_REVISION);	
	return;
}
